package com.test.dao;

import com.test.domain.User;
import com.test.domain.UserExample;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * LoginMapper
 *
 * @author HY
 * 2021/05/17 9:24
 **/


@Mapper
public interface LoginMapper {

    int isOppenid(String oppenid);

    User getUser(String oppenid);

    int addUser(User user);

    int updateUser(User user);
}
